import request from '@/util/request.js';

/**
 * @description 公告/通知 1公告 2通知
 * @param {Object} data
 */
export function getPublicListApi(data) {
	return request({
		url: '/publicAnnouncement/getPublicAnnouncementList',
		method: 'GET',
		data
	})
}
/**
 * @description 详情
 * @param {Object} data
 */
export function getPublicByIdApi(data) {
	return request({
		url: '/publicAnnouncement/getPublicAnnouncementById',
		method: 'POST',
		data
	})
}